package it.stasbranger.myproject.service;

import it.stasbranger.myproject.domain.Requests;
import it.stasbranger.myproject.domain.SuppliersHasRequests;

import java.util.List;
import java.util.Set;

/**
 * Spring service that handles CRUD requests for Requests entities
 * 
 */
public interface RequestsService {

	/**
	 * Return all Requests entity
	 * 
	 */
	public List<Requests> findAllRequestss(Integer startResult, Integer maxRows);

	/**
	 * Delete an existing SuppliersHasRequests entity
	 * 
	 */
	public Requests deleteRequestsSuppliersHasRequestses(Integer requests_idrequests, Integer related_suppliershasrequestses_suppliersIdsuppliers, Integer related_suppliershasrequestses_requestsIdrequests);

	/**
	 * Save an existing SuppliersHasRequests entity
	 * 
	 */
	public Requests saveRequestsSuppliersHasRequestses(Integer idrequests, SuppliersHasRequests related_suppliershasrequestses);

	/**
	 * Save an existing Requests entity
	 * 
	 */
	public void saveRequests(Requests requests);

	/**
	 * Return a count of all Requests entity
	 * 
	 */
	public Integer countRequestss();

	/**
	 */
	public Requests findRequestsByPrimaryKey(Integer idrequests_1);

	/**
	 * Load an existing Requests entity
	 * 
	 */
	public Set<Requests> loadRequestss();

	/**
	 * Delete an existing Requests entity
	 * 
	 */
	public void deleteRequests(Requests requests_1);
}